SET.GET_PRIMARY Function

Syntax

as P = set.get_primary()

Description

Return a pointer to the primary table in a set

Discussion

The .GET_PRIMARY() method returns a pointer to the primary table in a set.

Example

dim ptr as P
dim prim as P
ptr = set.open("invoice")
prim = ptr.get_primary()
? prim.name_get()  ->  "INVOICE_HEADER"

See Also